﻿using PropertyChanged;
using SIPSorcery.SIP;

namespace SimpleSIPServer
{
    /// <summary>
    /// 配置项
    /// </summary>
    [AddINotifyPropertyChangedInterface]
    public class ConfigItems
    {
        /// <summary>
        /// 监听端口
        /// </summary>
        public int ListenPort { get; set; } = SIPConstants.DEFAULT_SIP_PORT; //The default UDP SIP port.

        /// <summary>
        /// 设备ID
        /// </summary>
        public string DeviceId { get; set; } = "ABCD";

        /// <summary>
        /// 媒体服务器IP
        /// </summary>
        public string MediaIP { get; set; } = "192.168.16.120";

        /// <summary>
        /// 媒体服务器端口
        /// </summary>
        public int MediaPort { get; set; } = 5544;

        /// <summary>
        /// 媒体服务器播放端口（如 ZLMediaKit 的 http 端口）
        /// </summary>
        public int MediaPlayPort { get; set; } = 801;
    }
}
